package cn.com.hongfu.service.impl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.com.hongfu.dao.RequireMapper;
import cn.com.hongfu.model.Require;
import cn.com.hongfu.service.RequireService;
@Service("requireService")
public class RequireServiceImpl implements RequireService{
	@Autowired
	public RequireMapper requireMapper ;
	@Override
	public int save(Require require) {
		requireMapper.save(require);
		return 0;
	}
	@Override
	public List<Require> getAll() {
		return requireMapper.getAll();
	}
}
